import request from '@/utils/request'
// 列表请求
export function getList(param) {
  return request({
    url: '/group/manage.do',
    method: 'post',
    data: {
      param: param
    }
  })
}

// 查看
export function watch(param) {
  return request({
    url: '/group/userInfo.do',
    method: 'post',
    data: {
      param: param
    }
  })
}

// 关联平台
export function connect(param) {
  return request({
    url: '/group/associatedPlatform.do',
    method: 'post',
    data: {
      param: param
    }
  })
}

// 取消关联
export function cancel(param) {
  return request({
    url: '/group/cancelAssociated.do',
    method: 'post',
    data: {
      param: param
    }
  })
}

// 积分
export function point(param) {
  return request({
    url: '/group/userCreditManage.do',
    method: 'post',
    data: {
      param: param
    }
  })
}
